inspector: Prevent looping when picking widgets
authorMatthias Clasen <mclasen@redhat.com>
Sat, 30 Aug 2014 14:33:28 +0000 (10:33 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 1 Sep 2014 15:39:08 +0000 (11:39 -0400)
What was happening that the button press event that we use
to select a widget caused another clicked signal emission of
the inspect button, starting another pick action.

gtk/inspector/inspect-button.c

index ad95480a95a51a2c1c7a95e32e4c401c351df251..ce89bfe100ba413517672320ce6ccba399afe2ea 100644 (file)
@@ -301,7 +301,7 @@ property_query_event (GtkWidget *widget,
         }
     }
 
-  return FALSE;
+  return TRUE;
 }
 
 void